/**
 * Created with IntelliJ IDEA.
 * User: NM Group
 * Date: 06.09.12
 * Time: 12:35
 * To change this template use File | Settings | File Templates.
 */
package com.samoiloff.framework.model {
import flash.events.Event;

public class AbstractInitModel extends AbstractModel {

	public static const INITIALIZED_CHANGED:String = "initializedChanged";

	private var _initialized:Boolean;

	public function AbstractInitModel() {
	}

	public function initialize():void {
		_initialized = true;
		dispatchEvent(new Event(INITIALIZED_CHANGED));
	}

	public function get initialized():Boolean {
		return _initialized;
	}
}
}
